package com.mashibing.service;

import com.mashibing.internalcommon.dto.Car;
import com.mashibing.internalcommon.dto.DriverUser;
import com.mashibing.internalcommon.dto.ResponseResult;
import com.mashibing.internalcommon.response.DriverUserExistsResponse;

public interface DriverUserService {
    /**
     * 修改用户
     * @param driverUser
     * @return
     */
    ResponseResult updateUser(DriverUser driverUser);

    /**
     * 验证司机手机号
     * @param phoneNumber
     * @return
     */
    ResponseResult<DriverUserExistsResponse> verificationDriverUser(String phoneNumber);

    /**
     * 新增司机
     * @param driverUser
     * @return
     */
    ResponseResult addDriverUser(DriverUser driverUser);

}
